<!DOCTYPE html>
<html lang="en">
<head>
    <title>测试页面</title>
    <meta http-equiv="keywords" content="例子">
    <meta http-equiv="description" content="测试">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="/js/jquery.min.js"></script>
</head>
<body>
    <!--<form id="uploadForm" action="/user/importUser" method="post">-->
        <!--<input type="hidden" name="shopId" id="1" />-->
        <!--<input type="hidden" name="token" id="token" value="eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIyIiwiaWF0IjoxNTYzNzE5NDU5LCJzdWIiOiIiLCJpc3MiOiJVbmlvblBheUdyb3VwIiwiYXVkIjoibHRtcm1mIiwidXNlcklkIjoyLCJleHAiOjE1NjYzMTE0NTl9.eaIdq3F_Tt8rpf47ZIQW4Nc374-5K3Itm4Mvxr-l3RY"/>-->

        <!--<button type="button" onclick="testFun();">导入</button>-->

    <!--</form>-->
    <a target="_blank" href="https://mp.weixin.qq.com/cgi-bin/componentloginpage?component_appid=wxe7b45b2c227ef73b&pre_auth_code=preauthcode@@@w1Mub9ZCvjR8rg0p6Ci1MRwxfxvh9NxZn0oZdjndmOHE-cOB2AocIFSvotWqRA_l&redirect_uri=http://www.fanhaoshop.com/unionpay/component/authCodeBack&auth_type=3">授权</a>
</body>
<script type="text/javascript">
    function testFun() {

        $.ajax({
            url:"/component/findAuthUrl",
            type:"POST",
            dataType:"json",
            data: JSON.stringify(formData),
            contentType:"application/json",  //缺失会出现URL编码，无法转成json对象
            success:function(){
                alert("成功");
            }
        });
    }

</script>
</html>